#ifndef CSHOPPINGLIST_H
#define CSHOPPINGLIST_H

#include <QObject>
#include "cobject.h"
namespace cooking {

class CShoppingList : public CObject
{
    Q_OBJECT
    Q_PROPERTY(QString name READ name WRITE setName NOTIFY nameChanged)
    Q_PROPERTY(QString description READ description WRITE setDescription NOTIFY descriptionChanged)
public:
    explicit CShoppingList(QObject *parent = 0);

    QString name();
    void setName(QString name);

    QString description();
    void setDescription(QString description);
signals:
    void nameChanged();
    void descriptionChanged();

public slots:
private:
    QString m_name;
    QString m_description;

};
} // namespace cooking
#endif // CSHOPPINGLIST_H
